export const singer = state => state.singer

export const playing = state => state.playing

export const fullScreen = state => state.fullScreen

export const playlist = state => state.playlist

export const sequenceList = state => state.sequenceList

export const mode = state => state.mode

export const currentIndex = state => state.currentIndex

export const currentSong = state => {
  return state.playlist[state.currentIndex] || {}
}

export const disc = state => {
  return state.disc
}

/**
 * 获取排行信息
 * @param {*} state
 */
export const topList = state => state.topList

/**
 * 获取搜索历史
 * @param {} state
 */
export const searchHistory = state => state.searchHistory

/**
 * 设置播放历史
 * @param {} state
 */
export const playHistory = state => state.playHistory

export const favoriteList = state => state.favoriteList
